package Factory;

import java.math.BigDecimal;


//减法
public class Subtraction implements Operation {
    @Override
    public String calculate(double num1, double num2) {
        return new BigDecimal(num1).subtract(new BigDecimal(num2)).toString();//返回减法运算结果
    }
}